﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity;
using DAO;

namespace BO
{
    public class LoginBO
    {
        LoginDAO lDAO = new LoginDAO();
        public bool ValidateLogin(string user, string pass)
        {
            return lDAO.ValidateLogin(user, pass);
        }

        public UserEntity LoadUserInfo(string user)
        {
            return lDAO.LoadUserInfo(user);
        }
    }
}
